package com.itqf.entity;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class User {
    private String userid;

    private Integer greadid;

    private String username;

    private String userpassword;

    private String userNickname;

    private String userToken;

    private String userPhone;

    private String userimg;

    private Integer userstate;

    private Integer usernoteid;

    private String phonepassword;

    private String email;

    @Override
    public String toString() {
        return "User{" +
                "userid='" + userid + '\'' +
                ", greadid=" + greadid +
                ", username='" + username + '\'' +
                ", userpassword='" + userpassword + '\'' +
                ", userNickname='" + userNickname + '\'' +
                ", userToken='" + userToken + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userimg='" + userimg + '\'' +
                ", userstate=" + userstate +
                ", usernoteid=" + usernoteid +
                ", phonepassword='" + phonepassword + '\'' +
                ", email='" + email + '\'' +
                '}';
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }


    public String getPhonepassword() {
        return phonepassword;
    }

    public void setPhonepassword(String phonepassword) {
        this.phonepassword = phonepassword;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Integer getGreadid() {
        return greadid;
    }

    public void setGreadid(Integer greadid) {
        this.greadid = greadid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword == null ? null : userpassword.trim();
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname == null ? null : userNickname.trim();
    }

    public String getUserToken() {
        return userToken;
    }

    public void setUserToken(String userToken) {
        this.userToken = userToken == null ? null : userToken.trim();
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    public String getUserimg() {
        return userimg;
    }

    public void setUserimg(String userimg) {
        this.userimg = userimg == null ? null : userimg.trim();
    }

    public Integer getUserstate() {
        return userstate;
    }

    public void setUserstate(Integer userstate) {
        this.userstate = userstate;
    }

    public Integer getUsernoteid() {
        return usernoteid;
    }

    public void setUsernoteid(Integer usernoteid) {
        this.usernoteid = usernoteid;
    }
}